-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUST-1687 Add human_readable_serialization
option to Collection
#902
RUST-1687 Add human_readable_serialization
option to Collection
#902
Conversation
Hi @maiconpavi, thank you for making this pull request! Just wanted to let you know that because this is not a trivial addition to our API, the team will need to have some discussion around design/testing. I will let you know how we want to proceed with these changes once we come to an agreement. |
Hi @maiconpavi apologies for the delays and back-and-forth on this! After further discussion and a bug report from another user, we decided to proceed with your original changes despite the possibility of breaking user code. These changes were merged in #919. We still would like to add the ability to make Please let me know if you'd be interested in updating this PR to the design I've described and adding a few tests; otherwise, I'd be happy to take it on myself. We plan to release the fix from #919 and the collection-level option together. Thank you again for bringing this issue to our attention! |
Hi @isabelatkinson, I'm interested to make this change. I will make in this week. Thank you. Regards, |
Hi @isabelatkinson, When you say Regards, |
Hi @maiconpavi, this option should apply to any method on
The changes in #924 (which I will be merging in soon) should give you an idea of how to apply the option for the replace methods. The insert methods will be a bit different, as we don't serialize insert documents until we build the insert command here. |
Hi @isabelatkinson Regards, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this! I have a few suggestions.
Hello @isabelatkinson Regards, |
human_readable
option to replace_one_common
and …human_readable_serialization
option to Collection
…`find_one_and_replace_common`
… `human_readable_serialization` is false
… field documentation
a39e04e
to
2c02d25
Compare
Hi @maiconpavi, the code changes look great! I just rebased onto main to resolve merge conflicts and fixed up a few small test-related issues. Once CI passes I will approve this and tag in the other team member for review. Thanks for your work on this PR!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…
find_one_and_replace_common
This was a solution proposed by @isabelatkinson for the problem described in the following PR and the Task
Regards,
Maicon Pavi.